(sit-for): Rework to use input-pending-p and cond.
authorKim F. Storm <storm@cua.dk>
Mon, 11 Sep 2006 22:21:55 +0000 (22:21 +0000)
committerKim F. Storm <storm@cua.dk>
Mon, 11 Sep 2006 22:21:55 +0000 (22:21 +0000)
commit4fbd2105f6ed3f9a9603422f8231547b3ab207db
treea953ea661db3a0d6b66b651564dd676442d85244
parentde4fe434ca15b20ad37e013a254853bb13b9bfc3
(sit-for): Rework to use input-pending-p and cond.
Return nil input is pending on entry also for SECONDS <= 0.
(while-no-input): Use input-pending-p instead of sit-for.
lisp/subr.el